import request from './request'

export function getBanners(){
  return request({
    url:'/home/swiper'
  })
}

export function getHomeGroups(area){
  return request({
    url:"/home/groups",
    params:{
      area
    }
  })
}

export function getHomeNews(area){
  return request({
    url:'/home/news',
    params:{
      area
    }
  })
}